#!/bin/bash

gfortran -o exerB1 exerB1.f90

./exerB1 << end
9.80665
0.03
12
10
2
0
0
end

mv exerB1_out.dat exerB1_gam2.dat

./exerB1 << end
9.80665
0.03
12
60
0.5
0
0.66666
end

mv exerB1_out.dat exerB1_f0.dat
mv exerB1_fout.dat exerB1_ff0.dat

./exerB1 << end
9.80665
0.03
12
60
0.5
0.5
0.66666
end

mv exerB1_out.dat exerB1_f05.dat
mv exerB1_fout.dat exerB1_ff05.dat

./exerB1 << end
9.80665
0.03
12
60
0.5
1.2
0.66666
end

mv exerB1_out.dat exerB1_f12.dat
mv exerB1_fout.dat exerB1_ff12.dat

gnuplot plotB.gnu

rm -f exerB1*.dat
